﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DomeDatalis.aspx.cs" Inherits="PropertyAppraisal.DoemsKanCha.DomeDatalis" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>

    <link rel="stylesheet" href="../easyui/easyui/1.3.2/themes/default/easyui.css" />
    <link rel="stylesheet" type="/text/css" href="../easyui/easyui/1.3.2/themes/icon.css" />
    <%--<script type="text/javascript" src="easyui/js/jquery-1.8.0.min.js"></script>--%>
    <script src="../easyui/easyui/1.3.2/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="../easyui/easyui/1.3.2/jquery.easyui.min.js"></script>
    <script src="../easyui/easyui/1.3.2/easyloader.js"></script>

    <script type="text/javascript" src="../easyui/jquery.params.js"></script>

</head>
<body>
    <div class="easyui-panel" fit="true" style="border: none;">
        <div style="margin-left: 30px;" id="ff">
            <table>
                <tr>
                    <td>项目号：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears0" style="width: 800px;" disabled="false" />
                    </td>
                </tr>
                <tr>
                    <td>借款人：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears1" style="width: 800px;" disabled="false" />
                    </td>
                </tr>
                <tr>
                    <td>借款人身份证号：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears2" style="width: 800px;" disabled="false" />
                    </td>
                </tr>
                <tr>
                    <td>借款人电话：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears3" style="width: 800px;" disabled="false" />
                    </td>
                </tr>
                <tr>
                    <td>看房联系人：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears4" style="width: 800px;" disabled="false" />
                    </td>
                </tr>
                <tr>
                    <td>看房联系人电话：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears5" style="width: 800px;" disabled="false" />
                    </td>
                </tr>
                <tr>
                    <td>贷款年限：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears6" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>贷款额度（万元）</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears7" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>房屋坐落：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears9" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>房屋用途：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears10" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>建成年代来源：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears12" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>报告类型：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears13" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>评估受理：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears14" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>现场所属部门：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears15" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>现场勘察员：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears16" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>估价员：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears17" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>评估通知单出具日期：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears18" style="width: 800px;" disabled="false" /></td>
                </tr>
                <tr>
                    <td>登记时间：</td>
                    <td style="padding-left: 50px;">
                        <input class="easyui-textbox" type="text" id="overyears19" style="width: 800px;" disabled="false" /></td>
                </tr>
            </table>
        </div>
    </div>
    <script type="text/javascript">
        //调用父页面的赋值方法    
        $(function () {
            var P_ReportNumber = $.query.get("id");//项目号
            $.ajax({
                type: "post", //要用post方式                 
                url: "DomeDatalis.aspx/BackData",//方法所在页面和方法名
                data: "{'pnum':'" + P_ReportNumber + "'}",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (data) {
                    var json = eval("(" + data.d + ")");
                    $("#overyears0").val(json[0].projectNumber);
                    $("#overyears1").val(json[0].loan_Name);
                    $("#overyears2").val(json[0].loan_IdCard);
                    $("#overyears3").val(json[0].loan_TEL);
                    $("#overyears4").val(json[0].loan_Contacts);
                    $("#overyears5").val(json[0].loan_ContactsTEL);


                    $("#overyears6").val(json[0].surplus_Years);
                    $("#overyears7").val(json[0].basic_Quota);
                    // $("#overyears8").val(json[0].basic_Quota);
                    $("#overyears9").val(json[0].house_Located);
                    $("#overyears10").val(json[0].house_Purpose);


                    // $("#overyears11").val(json[0].house_Time);
                    $("#overyears12").val(json[0].yers_Source);
                    $("#overyears13").val(json[0].yers_Source);
                    $("#overyears14").val(json[0].presentation_Type);
                    $("#overyears15").val(json[0].assessment);


                    $("#overyears16").val(json[0].department_Name);
                    $("#overyears17").val(json[0].survey);
                    $("#overyears18").val(json[0].evaluation);
                    $("#overyears19").val(json[0].basic_State);

                }
            });
        })
    </script>
</body>
</html>
